package ${package.PageRequest};

<#------------ BEGIN 导包 ------------>
<#list table.pageRequestImportPackages as pkg>
import ${pkg};
</#list>

<#------------ END   导包 ------------>
<#if entityLombokModel>
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

</#if>
/**
 * <#if table.comment??>${table.comment!} </#if>分页参数
 *
 * @author ${author}
 * @since ${date}
 */
<#if entityLombokModel>
@Data
    <#if superPageRequest??>
@EqualsAndHashCode(callSuper = true)
    <#else>
@EqualsAndHashCode(callSuper = false)
    </#if>
@Accessors(chain = true)
</#if>
<#if superRequestClass??>
public class ${pageRequest} extends ${superPageRequestClass}<${entity}> {
<#else>
public class ${pageRequest} implements Serializable {
</#if>

    private static final long serialVersionUID = 1L;

<#------------ BEGIN 接口默认实现 ------------>
<#if superPageRequestClass??>
    @Override
    public QueryWrapper<${entity}> transform() {
        return new QueryWrapper<${entity}>();
    }

</#if>
<#------------ END   接口默认实现 ------------>
}
